package com.cdxy.model.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author: tangy
 * @Date: 2020/4/1 17:33
 */
@Data
@ApiModel
public class ScenePostReleaseReq extends UserWithLoginReq implements Serializable {

    private static final long serialVersionUID = 6428159635130725897L;

    @ApiModelProperty(value = "景点id", required = true)
    @NotNull(message = "景点id呢")
    private Integer sceneId;

    @ApiModelProperty(value = "内容", required = true)
    @NotBlank(message = "内容呢")
    private String content;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "图片")
    private String img;
}
